import { CardData, LevelData, MonsterEffect, OnSceneType, TriggerType } from "../model/types";


let cardInfo = 
[{"id":1,"name":"治愈蝾螈","cost":1,"strenth":"4","effect":"【剧毒】","skill":"[登场]：增加2点生命值","triggerType":TriggerType.OnScene,"type":OnSceneType.MeCardChange,"value":2},
{"id":2,"name":"脑蝇","cost":2,"strenth":"4","effect":"","skill":"[登场]：控制1只力量≥6的生物","triggerType":TriggerType.OnScene,"type":OnSceneType.MonsterControl,"value":6},
{"id":3,"name":"避役伏击者","cost":1,"strenth":"1","effect":"【潜行】","skill":"[攻击]：对手失去1点生命值。","triggerType":TriggerType.Attack},
{"id":4,"name":"堆肥恶龙","cost":1,"strenth":"3","effect":"【捕猎者】","skill":"[登场]：从你的弃牌堆中选择并打出一张卡。","triggerType":TriggerType.OnScene,"type":OnSceneType.DrawCardFromMyWaste,"value":1},
{"id":5,"name":"死亡编织者","cost":1,"strenth":"2","effect":"【剧毒】","skill":"对手无法对手无法激活[登场]特效。"},
{"id":6,"name":"章鱼象","cost":5,"strenth":"7","effect":"【顽强】","skill":"对手不能用力量≤4的生物来抵挡。"},
{"id":7,"name":"爆炸蟾蜍","cost":3,"strenth":"5","effect":"【狂暴】","skill":"[战败]：击败场上随机一只生物。","triggerType":TriggerType.Defeated,"monsterEffect":[MonsterEffect.Double]},
{"id":8,"name":"雪貂投弹手","cost":1,"strenth":"2","effect":"【潜行】","skill":"[登场]：对手选择并弃掉2张卡。","triggerType":TriggerType.OnScene,"type":OnSceneType.EnemyDropCard,"value":2},
{"id":9,"name":"长颈鹿鳄鱼","cost":4,"strenth":"7","effect":"","skill":"[登场]：将整个弃牌堆抽回手牌。","triggerType":TriggerType.OnScene,"type":OnSceneType.DrawAllWasteCard},
{"id":10,"name":"哥布林狼人","cost":1,"strenth":"2","effect":"【捕猎者】","skill":"己方回合本卡力量+6。"},
{"id":11,"name":"盗墓贼","cost":4,"strenth":"7","effect":"【顽强】","skill":"[登场]：从对手的弃牌堆中选择并打出一张卡。","triggerType":TriggerType.OnScene},
{"id":12,"name":"鸟身女妖母亲","cost":4,"strenth":"5","effect":"","skill":"[战败]：控制最多2只力量≤5的生物。","triggerType":TriggerType.Defeated},
{"id":13,"name":"袋鼠暴龙","cost":4,"strenth":"7","effect":"","skill":"[登场]：击败敌方所有力量≤4的生物。","triggerType":TriggerType.OnScene},
{"id":14,"name":"杀手蜂","cost":4,"strenth":"5","effect":"【捕猎者】","skill":"[登场]：对手失去1点生命值。","triggerType":TriggerType.OnScene},
{"id":15,"name":"孤独的雪人","cost":4,"strenth":"5","effect":"【顽强】","skill":"如果这是你场上仅存的生物，它将获得力量+5与【狂暴】。"},
{"id":16,"name":"墨西哥摔跤牛","cost":6,"strenth":"9","effect":"【狂暴】","skill":"","monsterEffect":[MonsterEffect.Double]},
{"id":17,"name":"诡秘人鱼","cost":1,"strenth":"7","effect":"","skill":"[登场]：你的生命值将等同于对手。","triggerType":TriggerType.OnScene},
{"id":18,"name":"装甲蝎","cost":1,"strenth":"2","effect":"【顽强】【剧毒】","skill":""},{"id":19,"name":"犀龟","cost":1,"strenth":"8","effect":"【狂暴】【顽强】","skill":""},
{"id":19,"name":"犀牛","cost":5,"strenth":8,"effect":"","skill":"【狂暴】【顽强】","triggerType":TriggerType.OnScene,"monsterEffect":[MonsterEffect.Double]},
{"id":20,"name":"鲨鱼犬","cost":4,"strenth":"4","effect":"","skill":"[攻击]：击败一只力量≥6的敌方生物。","triggerType":TriggerType.Attack},
{"id":21,"name":"鲨鳍蟹狗木乃伊","cost":1,"strenth":"5","effect":"","skill":"复制敌方生物的【捕猎者等特性。"},
{"id":22,"name":"盾甲虫","cost":1,"strenth":"4","effect":"【顽强】","skill":"本卡之外的友军力量+1。"},
{"id":23,"name":"三首蜗牛","cost":6,"strenth":"9","effect":"","skill":"[攻击]：如果己方生物少于对手，击败场上随机一只生物。","triggerType":TriggerType.Attack},
{"id":24,"name":"蜗牛投掷者","cost":1,"strenth":"1","effect":"【剧毒】","skill":"本卡之外力量≤4的友军获得【捕猎者】与【剧毒】。"},
{"id":25,"name":"猫头鹰蛛","cost":2,"strenth":"3","effect":"【潜行】【剧毒】","skill":""},
{"id":26,"name":"怪桶","cost":4,"strenth":"6","effect":"","skill":"[战败]：窃取对手随机2张手牌。","triggerType":TriggerType.Defeated},
{"id":27,"name":"虎松鼠","cost":2,"strenth":"3","effect":"【潜行】","skill":"[登场]：击败敌方一只力量≥7的生物。","triggerType":TriggerType.OnScene},
{"id":28,"name":"强效BUG","cost":2,"strenth":"4","effect":"","skill":"[攻击]：对手的生命值降为1。","triggerType":TriggerType.Attack},
{"id":29,"name":"长牙勒索犯","cost":6,"strenth":"8","effect":"","skill":"[攻击]：对手选择并弃掉1张卡。","triggerType":TriggerType.Attack},
{"id":30,"name":"海胆投掷者","cost":1,"strenth":"5","effect":"【捕猎者】","skill":"本卡之外的友军力量+1。"}]




export function getCardById(id: number):CardData {
  return cardInfo.find(x=>x.id == id)
}